package com.itqf.dao;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2020/9/28
 * @Time: 上午9:26
 */
public class BookDao {

    public  void  insert(){
        System.out.println("insert......");
    }

    @PostConstruct   //对象初始化
    public  void  init(){
        System.out.println("init .......");
    }

    @PreDestroy
    public  void  destory(){//对象销毁
        System.out.println("destory。。。。。。。");
    }

}
